Micron Document
Gopher Proxy


forthworks.com:70 forthworks.com:70/0/blog/posts/20160213
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
## Updating Allegory Within Pythonista

I use an iPad as my primary computer. To run Parable I use [Apologue](/ios/apologue) and the standard *Allegory* interface under Pythonista.

With recent changes to Parable it has become possible to run Allegory without changes. (Previously a few things had to be removed manually before it would run). To make updating it easier I have written a quick script that will download the latest version.

# coding: utf-8

import requests
import datetime

url = 'https://raw.githubusercontent.com/crcx/parable/master/py/allegory'
r = requests.get(url)

with open('allegory.py', 'w') as f:
f.write('# allegory updated ')
f.write(str(datetime.date.today()))
f.write('\n')
f.write(r.content)

you're on forthworks.com^70/0/blog/posts/20160213
back link is forthworks.com:70/1/phlog